# -*- coding: utf-8 -*-
"""
@Time ： 2022/12/29 16:40
@Auth ： jiraWu
@File ：dev.py
@IDE ：PyCharm
@Motto:人生苦短，我学Python

"""
from _requests import GetRequests
import requests

if __name__ == '__main__':
    url = "http://www.baidu.com"
    headers = {
        "User-Agent": "Mozilla/5.0 (iPhone; CPU iPhone OS 13_2_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Mobile/15E148 Safari/604.1"
    }
    # resp = requests.get(url=url, headers=headers)
    # print(resp)
    resp = GetRequests(url=url).send_req()
    print(resp)
# cont = GetRequest(url=url, headers=headers).send_req()
# print(cont)
